package com.myproject.service.impl;

import com.myproject.entity.UserDao;
import com.myproject.mapper.UserMapper;
import com.myproject.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<UserDao> queryUserInfo(String username) {
        return userMapper.queryUserInfo(username);
    }

    @Override
    public int batchAddUserInfo(List<UserDao> userList) {
        return userMapper.batchAddUserInfo(userList);
    }
}
